package com.cola.demo1.config;

import com.cola.demo1.dao.UserDao;
import com.cola.demo1.service.UserService;
import com.cola.demo1.web.UserController;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Grup:com.cola.demo.service
 * @Auther:cola
 * @Data:2021/4/18-2021-04-13:23
 * @version:1.0
 */
@Configuration
//@ComponentScan("com.cola.demo1")
//@ComponentScan(basePackages = {"com.cola.demo1.dao","com.cola.demo1.service","com.cola.demo1.web"})
@ComponentScan(basePackageClasses = {UserController.class, UserService.class, UserDao.class})
public class AppConfig {
}
